using System.Collections.Generic;
using MvcMall.Core.Commands;
using MvcMall.Core.Domains;
using MvcMall.Framework.MvcPager;

namespace MvcMall.Core.Contacts.Tasks
{
    public interface IAdminPowerTask
    {
        AdminPower Get(int id);
        List<AdminPower> GetAll();
        AdminPower Save(SaveAdminPowerCommand cmd);
        PagedList<AdminPower> GetPagedList(int pageIndex, int pageSize);
    }
}